package org.budo.mail.javax;

import java.util.Date;
import java.util.List;
import java.util.Map;

import javax.mail.Message;

import org.budo.mail.Mail;

/**
 * @author lmw
 */
public interface ReceiveMail extends Mail {
    String getMessageId();

    List<String> getToAddresses();

    Date getSentDate();

    Date getReceivedDate();

    Message getMessage();

    String getUid();

    List<String> getCcAddresses();

    String getHeader(String string, String string2);

    Boolean delete();

    List<String> getBccAddresses();

    Object messageToMap();

    void setCcAddresses(List<String> stringList);

    void setSubject(String subject);

    Map<String, List<String>> getAllHeaders();

    List<org.budo.mail.javax.MailAttachment> getAttachments();
}